/*
 * @Author: 脉迈
 * @Date: 2021-09-15 11:18:38
 * @LastEditors: 脉迈
 * @LastEditTime: 2021-10-26 18:20:19
 */
import React from "react";
import { Switch, Route } from "react-router-dom";
import Editor from "views/editor";
import Index from "views/index";
import Module from "views/module";
import Template from "views/template";
import Preview from "views/preview";
function App() {
  return (
    <Switch>
      <Route path="/" exact component={Index} />
      <Route path="/editor" exact component={Editor} />
      <Route path="/module" exact component={Module} />
      <Route path="/template" exact component={Template} />
      <Route path="/preview" exact component={Preview} />
    </Switch>
  );
}

export default App;
